package com.android.juliomedina.offline;

import com.android.juliomedina.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class Offline_activity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.offline);

		TextView tv1 = (TextView) findViewById(R.id.textView1);
		TextView tv2 = (TextView) findViewById(R.id.textView2);
		TextView tv3 = (TextView) findViewById(R.id.textView3);
		TextView tv4 = (TextView) findViewById(R.id.textView4);
		TextView tv5 = (TextView) findViewById(R.id.textView5);
		TextView tv6 = (TextView) findViewById(R.id.textView6);
		TextView tv7 = (TextView) findViewById(R.id.textView7);
		TextView tv8 = (TextView) findViewById(R.id.textView8);

		tv1.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in1 = new Intent(Offline_activity.this,
						thoughts_offline.class);
				startActivity(in1);
			}
		});
		tv2.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in2 = new Intent(Offline_activity.this,
						songsoftheday_offline.class);
				startActivity(in2);
			}
		});
		tv3.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in3 = new Intent(Offline_activity.this,
						petpevees_offline.class);
				startActivity(in3);
			}
		});
		tv4.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in4 = new Intent(Offline_activity.this,
						reviews_offline.class);
				startActivity(in4);
			}
		});
		tv5.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in5 = new Intent(Offline_activity.this,
						fitness_offline.class);
				startActivity(in5);
			}
		});
		tv6.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in6 = new Intent(Offline_activity.this,
						business_offline.class);
				startActivity(in6);
			}
		});
		tv7.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in7 = new Intent(Offline_activity.this,
						about_offline.class);
				startActivity(in7);
			}
		});
		tv8.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in8 = new Intent(Offline_activity.this,
						beachbody_offline.class);
				startActivity(in8);
			}
		});
	}
}
